<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page   contentType="text/html;charset=UTF-8" language="java" %>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="<%=path%>/css/Site.css" />
		<link rel="stylesheet" href="<%=path%>/css/zy.all.css" />
		<link rel="stylesheet" href="<%=path%>/css/font-awesome.min.css" />
		<link rel="stylesheet" href="<%=path%>/css/amazeui.min.css" />
		<link rel="stylesheet" href="<%=path%>/css/admin.css" />
	</head>

	<body>
		<div class="dvcontent">
			<div>
				<!--tab start-->
				<div class="tabs">
					<div class="hd">
						<ul>
							<li class="on" style="box-sizing: initial;-webkit-box-sizing: initial;">查看成绩</li>
							
						</ul>
					</div>
					<div class="bd">
						<ul style="display: block;padding: 20px;">
							<li>
								<!--分页显示角色信息 start-->
								<div id="dv1">
									<table class="table" id="tbRecord">
										<thead>
											<tr>
												<th>课程编号</th>
												<th>课程名称</th>
												<th>任课教师</th>
												<th>课程学分</th>
												<th>成绩</th>
											</tr>
										</thead>
										<c:forEach items="${selectList}" var="select">
											<tbody>
											<tr>
												<td>${select.courseId}</td>
												<td>${select.course.courseName}</td>
												<td>${select.teacher.teacherName}</td>
												<td>${select.course.credit}</td>
												<c:if test="${select.grade==-1}">
													<td>暂无成绩</td>
												</c:if>
												<c:if test="${select.grade!=-1}">
													<td>${select.grade}</td>
												</c:if>
											</tr>
											</tbody>
										</c:forEach>

									</table>
								</div>
								<!--分页显示角色信息 end-->
							</li>
						</ul>
						</div>
					</div>
					<!--tab end-->

				</div>


				
	</body>

</html>